package com.example.service.impl;

import com.example.annotation.Transactional;
import com.example.service.UserService;

@Transactional
public class UserServiceImpl implements UserService {
    @Override
    public void addUser(String username) {
        System.out.println("添加用户: " + username);
        // 模拟数据库操作
    }
    
    @Override
    public void deleteUser(String username) {
        System.out.println("删除用户: " + username);
        // 模拟数据库操作
    }
}